﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Caliburn.PresentationFramework.ApplicationModel;
using Caliburn.PresentationFramework;
using IronCommander.Domain;
using Caliburn.Core;
using IronCommander.Views;

namespace IronCommander.ViewModels
{
    public class MainViewModel : Presenter
    {
        public BindableCollection<FilePanelViewModel> Panels { get; private set; }

        public MainViewModel(IFileSystemInfoProvider fileInfoProvider, CurrentPaths currentPaths)
        {
            Panels = new BindableCollection<FilePanelViewModel>
            {
                new FilePanelViewModel(fileInfoProvider, currentPaths),
                new FilePanelViewModel(fileInfoProvider, currentPaths),
            };
        }
    }
}
